Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow resizing the source image for a volume #1123

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

wfdewith
Copy link
Contributor

@wfdewith wfdewith commented Oct 27, 2024

I've put a restriction of only resizing when the desired size is larger than the original size. Even though libvirt allows shrinking (but only when VIR_STORAGE_VOL_RESIZE_SHRINK is specified), this is not an operation that is readily supported by most VM images.

I've put a restriction of only resizing when the desired size is larger
than the original size. Even though libvirt allows shrinking (but only
when VIR_STORAGE_VOL_RESIZE_SHRINK is specified), this is not an
operation that is readily supported by most VM images.
@wfdewith
Copy link
Contributor Author

I see that #1122 touches something related to this change. If both are merged, we probably need to update some stuff to reuse the same code paths for resizing images.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant